import request from '@/libs/request'

export const api ={
	/*create_time: new Date().Format("yyyy-MM-dd hh:mm:ss"),*/
	priceCost:function(data) {return request({url: '/api/Product/priceCost',method: 'POST',data});},//成本计算
	dataInfo:function(data) {return request({url: '/api/Product/dataInfo',method: 'GET',data});},//编辑文章
	getConfig:function(data) {return request({url: '/api/Config/getConfig',method: 'POST',data});},//编辑文章
	addOrder:function(data) {return request({url: '/api/Product/addOrder',method: 'POST',data});},//添加订单
	customerList:function(data) {return request({url: '/api/Customer/dataList',method: 'GET',data});},//获取客户列表
	u8Customers:function(data) {return request({url: '/api/Customer/u8Customers',method: 'GET',data});},//获取客户列表
	appUserList:function(data) {return request({url: '/api/User/appUserList',method: 'GET',data});},//获取客户列表
	getShopList:function(data) {return request({url: '/api/Order/getShopList',method: 'GET',data});},//获取客户列表
	getWorkerList:function(data) {return request({url: '/api/Worker/dataList',method: 'GET',data});},//获取贴膜师傅列表
	getUserStore:function(data) {return request({url: '/api/Product/getUserStore',method: 'GET',data});},//获取客户列表
	orderItemInfo:function(data) {return request({url: '/api/Order/orderItemInfo',method: 'GET',data});},//订单明细列表
	getWechatData:function(data) {return request({url: '/api/Wechat/getData',method: 'POST',data});},
	getCustomerQrcode:function(data) {return request({url: '/api/Index/getCustomerQrcode',method: 'POST',data});},//编辑文章
	getMember:function(data) {return request({url: '/api/User/getAppUser',method: 'GET',data});},//获取文章列表
	
	fieldMap:{"box_price":"箱单价","zdpf_price":"指导平方价","cbpf_price":"成本平方价","T9":"母卷平方价","CR_D4":"粒子价格","CR_H4":"纯膜价","CR_I4":"纸管价格","CR_K4":"成本公斤价","CR_M4":"指导公斤价","CR_L4":"单卷价格","cr_weight":"膜重量", "roll_price":"卷单价","cost_price":"成本价","F9":"材料价格","H9":"纸管价格","K9":"纸箱价格","P9":"运费","G33":"平方数","I30":"公斤价","kilo_rate":"公斤系数","K30":"母卷平方价","L30":"加工费","length":"长度","width":"宽度","meter":"米数","roll_num":"卷数","box_num":"箱数","roll_weight":"卷重量","price":"单价","total":"总价"},
	produtParMap:{"js1":"解卷力","js2":"初粘力","js3":"持粘力","js4":"剥离力","js5":"背剥离力","js6":"抗拉力","js7":"伸长率"}
}

